<template>
    <div id="collect_page">
      <div class="absolute">
        <collectGoods v-if="$store.state.common.show_collect_type=='goods'"></collectGoods>
      </div>
      <div class="absolute">
        <collectContent v-if="$store.state.common.show_collect_type=='content'"></collectContent>
      </div>
    </div>
</template>

<script>
  import collectGoods from "../../page/my/collect_goods";
  import collectContent from "../../page/my/collect_content";
    export default {
        name: "collect_page.vue",
      components:{
        collectGoods,
        collectContent
      }
    }
</script>

<style scoped>
.absolute{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;

}
</style>
